package com.manor.paradise.bean

import com.google.gson.annotations.SerializedName
import java.math.BigDecimal


data class ShopListBean(
        @SerializedName("current")
        val current: Int = 0,
        @SerializedName("orders")
        val orders: List<Any> = listOf(),
        @SerializedName("pages")
        val pages: Int = 0,
        @SerializedName("records")
        val records: MutableList<Record> = mutableListOf(),
        @SerializedName("searchCount")
        val searchCount: Boolean = false,
        @SerializedName("size")
        val size: Int = 0,
        @SerializedName("total")
        val total: BigDecimal
)

data class Record(
        @SerializedName("createTime")
        val createTime: String = "",
        @SerializedName("rowNo")
        val rowNo: String = "",
        @SerializedName("id")
        val id: Long = 0,
        @SerializedName("sale")
        val sale: BigDecimal,
        @SerializedName("saleType")
        val saleType: Int = 0,
        @SerializedName("serviceRate")
        val serviceRate: BigDecimal,
        @SerializedName("shopType")
        val shopType: Int = 0,
        @SerializedName("sold")
        val sold: BigDecimal,
        @SerializedName("status")
        val status: Int = 0,
        @SerializedName("transNum")
        val transNum: Int = 0,
        @SerializedName("uid")
        val uid: Int = 0,
        @SerializedName("unit")
        val unit: BigDecimal,
        @SerializedName("avatar")
        val avatar: String = ""
)